<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-04 16:53:56
 * @LastEditTime: 2023-06-28 14:49:32
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Http\Services\BaseData;

use App\Http\Services\Service;
use App\Repositories\DefectDetailsRepository;
use App\Repositories\ProcessRequirementsRepository;
use Illuminate\Support\Facades\DB;

/** 
 * @property ProcessRequirementsRepository $repository
 */
class ProcessRequirementsService extends Service
    {
    public function __construct(ProcessRequirementsRepository $repository)
        {
        $this->repository = $repository;
        }

    public function list()
        {
        $data = $this->repository->condition(request())->getGrid();
        return $data;
        }

    }